package it.unibo.convoycruisecontrol.chiefboatsubsystem.test.mock;

import it.unibo.convoycruisecontrol.chiefboatsubsystem.DistanceSupervisor;
import it.unibo.convoycruisecontrol.chiefboatsubsystem.IControlPanel;
import it.unibo.location.ILocation;
import it.unibo.location.LocationDevice;
import it.unibo.util.information.InformationConverter;

public class MockDistanceSupervisor extends DistanceSupervisor 
{
	public MockDistanceSupervisor(int distanceLimit, LocationDevice locationDevice, IControlPanel controlPanel, InformationConverter informationConverter) throws Exception
	{
		super(distanceLimit, locationDevice, controlPanel, informationConverter);
	}
	
	public void setSpeeds(float[] array)
	{
		speeds = array;
	}
	
	public void setLocations(ILocation[] array)
	{
		locations = array;
	}
	
	@Override
	public void newInformations() {
		super.newInformations();
	}
}
